package org.mfw.obj.events
{
	import flash.events.Event;
	
	import org.mfw.interfaces.mdm.event.IBoxEvent;
	import org.mfw.interfaces.obj.mob.IBox;
	import org.mfw.obj.mob.Box;
	
	public class BoxEvent extends Event implements IBoxEvent
	{
		public static var COMPLETE:String = "box_complete"
		private var _box:Box;
		
		public function BoxEvent(type:String, box:Box = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._box = box;
		}
		
		public function get box():IBox {
			return this._box;
		}
	}
}